multipress: Only emit preedit signals if needed
authorMatthias Clasen <mclasen@redhat.com>
Tue, 18 Aug 2015 19:42:56 +0000 (15:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Aug 2015 19:44:45 +0000 (15:44 -0400)
commit24174e5528018c36868c4e4f834a8614b460bafb
tree9bab8fa9319fd1b8a1ef6763e79ea67b8b3a71a5
parent9f9c5ca49ada3e9345a48fd8d642883c0f7339fb
multipress: Only emit preedit signals if needed

When clearing the compose buffer, don't emit preedit-changed
unconditionally. This triggers a recursion which leads to
a crash.

https://bugzilla.gnome.org/show_bug.cgi?id=753644
modules/input/gtkimcontextmultipress.c